package com.sims.dao;

import java.util.List;

import com.sims.bean.Student;

public interface IStudentDAO {

	public abstract void save(Student transientInstance);

	public abstract void delete(Student persistentInstance);

	public abstract Student findById(java.lang.Integer id);

	public abstract List findByExample(Student instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findBySno(Object sno);

	public abstract List findByPassword(Object password);

	public abstract List findByName(Object name);

	public abstract List findBySex(Object sex);

	public abstract List findByNation(Object nation);

	public abstract List findByDegree(Object degree);

	public abstract List findByPoliticalStatus(Object politicalStatus);

	public abstract List findByIdcard(Object idcard);

	public abstract List findByPhotoLocation(Object photoLocation);

	public abstract List findByCid(Object cid);

	public abstract List findBySeatNo(Object seatNo);

	public abstract List findByTel(Object tel);

	public abstract List findByProfile(Object profile);

	public abstract List findAll();

	public abstract Student merge(Student detachedInstance);

	public abstract void attachDirty(Student instance);

	public abstract void attachClean(Student instance);

	public abstract Student findBySno(String sno);
}